/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wf.dto.geo;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;

/**
 *
 * @author romulogalindo
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "frawor2.pgvalent",
            query = "select C.* from frawor2.pgvalent(:p_co_entgeo,:p_id_frawor,:p_co_congeo) C ",
            resultClass = wf.dto.geo.ValentDto.class)
})
public class ValentDto implements  Serializable{
    private ValentDtoID id;
    private BigDecimal nu_geolat;
    private BigDecimal nu_geolon;
    private Short nu_georad;
    private Short ti_entgra;
    private String co_entcol;
    private Short nu_entdir;
    private String no_entdes;
    private String no_entnom;

    @EmbeddedId
    public ValentDtoID getId() {
        return id;
    }

    public void setId(ValentDtoID id) {
        this.id = id;
    }

    @Column(name = "nu_geolat")
    public BigDecimal getNu_geolat() {
        return nu_geolat;
    }

    public void setNu_geolat(BigDecimal nu_geolat) {
        this.nu_geolat = nu_geolat;
    }

    @Column(name = "nu_geolon")
    public BigDecimal getNu_geolon() {
        return nu_geolon;
    }

    public void setNu_geolon(BigDecimal nu_geolon) {
        this.nu_geolon = nu_geolon;
    }

    @Column(name = "nu_georad")
    public Short getNu_georad() {
        return nu_georad;
    }

    public void setNu_georad(Short nu_georad) {
        this.nu_georad = nu_georad;
    }

    @Column(name = "ti_entgra")
    public Short getTi_entgra() {
        return ti_entgra;
    }

    public void setTi_entgra(Short ti_entgra) {
        this.ti_entgra = ti_entgra;
    }

    @Column(name = "co_entcol")
    public String getCo_entcol() {
        return co_entcol;
    }

    public void setCo_entcol(String co_entcol) {
        this.co_entcol = co_entcol;
    }

    @Column(name = "nu_entdir")
    public Short getNu_entdir() {
        return nu_entdir;
    }

    public void setNu_entdir(Short nu_entdir) {
        this.nu_entdir = nu_entdir;
    }

    @Column(name = "no_entdes")
    public String getNo_entdes() {
        return no_entdes;
    }

    public void setNo_entdes(String no_entdes) {
        this.no_entdes = no_entdes;
    }

    @Column(name = "no_entnom")
    public String getNo_entnom() {
        return no_entnom;
    }

    public void setNo_entnom(String no_entnom) {
        this.no_entnom = no_entnom;
    }
    
    
    
    
}
